package com.yida.gwj.config.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description:
 * @Author: PPV
 * @Date: 2023-04-21
 */
@ApiModel("附件上传请求")
public class GwjAttachementUploadRequest {

    @NotNull(message = "业务标识不能为空")
    @ApiModelProperty("业务标识")
    private Long serverIdentification;

    @NotNull(message = "区域ID不能为空")
    @ApiModelProperty("区域ID")
    private Long areaId;

    @NotNull(message = "业务类型不能为空")
    @ApiModelProperty("业务类型")
    private Integer serverType;

    @NotNull(message = "文件类型不能为空")
    @ApiModelProperty("文件类型")
    private Integer type;

    @NotBlank(message = "外部文件业务标识不能为空")
    @ApiModelProperty("外部文件业务标识")
    private String outServerIdentification;

    @NotBlank(message = "桶名称不能为空")
    @ApiModelProperty("桶名称")
    private String bucketName;

    @ApiModelProperty("文件名称")
    private List<String> fileNames;

    public Long getServerIdentification() {
        return serverIdentification;
    }

    public void setServerIdentification(Long serverIdentification) {
        this.serverIdentification = serverIdentification;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Integer getServerType() {
        return serverType;
    }

    public void setServerType(Integer serverType) {
        this.serverType = serverType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOutServerIdentification() {
        return outServerIdentification;
    }

    public void setOutServerIdentification(String outServerIdentification) {
        this.outServerIdentification = outServerIdentification;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public List<String> getFileNames() {
        return fileNames;
    }

    public void setFileNames(List<String> fileNames) {
        this.fileNames = fileNames;
    }

}
